
import React from 'react';
import { Modal } from 'antd';

const App = (props) => {
    const { exportModelVisible, setExportModelVisible} = props;

    const handleOk = () => {
        setExportModelVisible(false);
    };

    const handleCancel = () => {
        setExportModelVisible(false);
    };

  return (
    <>
        <Modal title="Basic Modal" open={exportModelVisible} onOk={handleOk} onCancel={handleCancel}>
            <p>Some contents...</p>
            <p>Some contents...</p>
            <p>Some contents...</p>
        </Modal>
    </>
  );
};

export default App;